package com.coreJava.设计模式.静态代理;

/**
 * 作者: LCG
 * 日期: 2019/9/4 16:52
 * 描述:
 */
public class JingTaiProxy {

   private JingTaiInterface jingTaiInterface;

    public JingTaiProxy(JingTaiInterface jingTaiInterface) {
        this.jingTaiInterface = jingTaiInterface;
    }

    public String test01(){

        System.out.println("======写日志=====");
        String s = jingTaiInterface.test01();

        return s;
    }

}
